import request from '@/utils/request'

export const EXPORT_URL = '/system/finance/exportsubrecords'

// 查询列表
export function listPartnerWithdraw(query) {
  return request({
    url: '/system/finance/showsubrecords',
    method: 'post',
    params: query
  })
}

export function confirmWithdraw(data) {
  return request({
    url: '/system/finance/subrefund',
    method: 'post',
    params: data
  })
}
